//
// Created by A4-28 on 2020/10/12.
//

#include "perspectiveCamera.h"
#include <glad/glad.h>
#include <GLFW/glfw3.h>

namespace WF {

    class Camera3DController {
    public:
        Camera3DController();
        //移动
        void Move(GLFWwindow *window);

        //fov 缩放
        void Scroll(float x, float y);

        //视角旋转
        void ViewRotate(float x, float y);

        PerspectiveCamera *camera;
        float moveSpeed = 0.001f;
        float rotateSpeed = 0.001f;
        bool isFirst= true;
        float lastX,lastY;
    };
}

